package com.hk.service;

import com.hk.model.News;

import java.util.List;

/**
 * @Author: KangWang
 * Date: 2021/5/20 10:48
 * State：新闻接口
 */
public interface INewsService extends IBaseService<News> {

    List<News> findByHits(int hits);

    List<News> findAll(int page,int limit,int typeid);

    List<News> findById(int id);

    int count(int page,int limit,int typeid);

    News findByTitle(String title);

}
